package com.blockmeta.bbs.businesslibrary.pojo;

import java.util.List;

/**
 * Created by author on 2018/1/10.
 */

public class FastListPOJO {
    private int refresh_number;

    public int getRefresh_number() {
        return refresh_number;
    }

    public void setRefresh_number(int refresh_number) {
        this.refresh_number = refresh_number;
    }

    private List<ListBean> list;

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * mPostName : 156244
         * title : 新华社：区块链刷屏了 但要警惕“买椟还珠”式炒作
         * post_date : 1516776799
         * post_date_format : 2018-01-24 14:53:19
         * desc : 最近，虚拟数字货币行情走热，区块链技术也火了。目前，工信部等多个部委及国内外多家行业巨头都组建专门团队或实验室积极推进区块链技术及其应用的研究。据了解...
         * image :
         * content : 最近，虚拟数字货币行情走热，区块链技术也火了。目前，工信部等多个部委及国内外多家行业巨头都组建专门团队或实验室积极推进区块链技术及其应用的研究。据了解，区块链有望应用于供应链管理、食品安全、信息传播等多个领域，虚拟数字货币只是其应用场景之一。专家指出，对于区块链和虚拟数字货币，应防止“买椟还珠”式的炒作。近两年，我国发布多个文件支持发展区块链技术；进入2018年后，监管部门已连发三道文，要求清查虚拟数字货币的生产（挖矿）和交易，并提示风险。
         * author_info : {"mPostName":"42530","name":"Dolancrush","display_name":"Dolancrush","desc":"","bitcoin_address":"","avatar":"http://www.8btc.com/wp-content/uploads/author-image/default/title-13.jpg"}
         * category : [{"mPostName":"4481","name":"块讯","desc":"","link":"/news"}]
         * replies : 0
         * getViews : 90
         * source : {"link":"http://www.xinhuanet.com/fortune/2018-01/24/c_1122308184.htm","name":"消息来源","ico":""}
         * highlight : 0
         */

        private int id;
        private String title;
        private String post_date;
        private String post_date_format;
        private String desc;
        private String image;
        private String content;
        private AuthorInfoBean author_info;
        private String replies;
        private String views;
        private SourceBean source;
        private String highlight;
        private List<CategoryBean> category;
        private SenseBean sense;


        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title.replaceAll("<em>|</em>","");
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getPost_date() {
            return post_date;
        }

        public void setPost_date(String post_date) {
            this.post_date = post_date;
        }

        public String getPost_date_format() {
            return post_date_format;
        }

        public void setPost_date_format(String post_date_format) {
            this.post_date_format = post_date_format;
        }

        public String getDesc() {
            return desc.replaceAll("<em>|</em>","");
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getContent() {
            return content.replaceAll("<em>|</em>","");
        }

        public void setContent(String content) {
            this.content = content;
        }

        public AuthorInfoBean getAuthor_info() {
            return author_info;
        }

        public void setAuthor_info(AuthorInfoBean author_info) {
            this.author_info = author_info;
        }

        public String getReplies() {
            return replies;
        }

        public void setReplies(String replies) {
            this.replies = replies;
        }

        public String getViews() {
            return views;
        }

        public void setViews(String views) {
            this.views = views;
        }

        public SourceBean getSource() {
            return source;
        }

        public void setSource(SourceBean source) {
            this.source = source;
        }

        public String getHighlight() {
            return highlight;
        }

        public void setHighlight(String highlight) {
            this.highlight = highlight;
        }

        public List<CategoryBean> getCategory() {
            return category;
        }

        public void setCategory(List<CategoryBean> category) {
            this.category = category;
        }

        public SenseBean getSense() {
            return sense;
        }

        public static class AuthorInfoBean {
            /**
             * mPostName : 42530
             * name : Dolancrush
             * display_name : Dolancrush
             * desc :
             * bitcoin_address :
             * avatar : http://www.8btc.com/wp-content/uploads/author-image/default/title-13.jpg
             */

            private String id;
            private String name;
            private String display_name;
            private String desc;
            private String bitcoin_address;
            private String avatar;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getDisplay_name() {
                return display_name;
            }

            public void setDisplay_name(String display_name) {
                this.display_name = display_name;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getBitcoin_address() {
                return bitcoin_address;
            }

            public void setBitcoin_address(String bitcoin_address) {
                this.bitcoin_address = bitcoin_address;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }
        }

        public static class SourceBean {
            /**
             * link : http://www.xinhuanet.com/fortune/2018-01/24/c_1122308184.htm
             * name : 消息来源
             * ico :
             */

            private String link;
            private String name;
            private String ico;

            public String getLink() {
                return link;
            }

            public void setLink(String link) {
                this.link = link;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getIco() {
                return ico;
            }

            public void setIco(String ico) {
                this.ico = ico;
            }
        }

        public static class CategoryBean {
            /**
             * mPostName : 4481
             * name : 块讯
             * desc :
             * link : /news
             */

            private String id;
            private String name;
            private String desc;
            private String link;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getLink() {
                return link;
            }

            public void setLink(String link) {
                this.link = link;
            }
        }

        public static class SenseBean {
            /**
             * up 看涨数
             * down 看空数
             * select :down 表示看空 up 表示看涨
             */
            private int up;
            private int down;
            private String select;

            public int getUp() {
                return up;
            }

            public int getDown() {
                return down;
            }

            public String getSelect() {
                return select;
            }

            public void setSelect(String select) {
                this.select = select;
            }

            public void setDown(int down) {
                this.down = down;
            }

            public void setUp(int up) {
                this.up = up;
            }
        }
    }
}
